package com.gzist.security4.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @TableName permission
 * @Author: 黄泽建
 */
@TableName(value ="permission")
@Data
@ApiModel("权限类")
public class Permission implements Serializable {
    /**
     * 权限id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("权限id")
    private Long id;

    /**
     * 权限名字
     */
    @TableField(value = "per_name")
    @ApiModelProperty("权限名字")
    private String perName;

    /**
     * 权限标识
     */
    @TableField(value = "perms")
    @ApiModelProperty("权限标识")
    private String perms;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}